/**
 * 业务办理趋势
 */
import request from '@/utils/request';

// 折线图 访问量数据图表信息查询
export function getVisitCountTrend(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/analysis/trend/getVisitCountTrend',
		method: 'get',
		params: query,
	});
}

// 折线图平均处理时长图表信息查询
export function getAvgDealTimeTrend(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/analysis/trend/getAvgDealTimeTrend',
		method: 'get',
		params: query,
	});
}

// 折线图服务器平均响应时长图表信息查询
export function getAvgResponseTimeTrend(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/analysis/trend/getAvgResponseTimeTrend',
		method: 'get',
		params: query,
	});
}
